export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  menuWidth: 150,
  column: [
    // {
    //   "type": "input",
    //   "label": "主键ID",
    //   "prop": "id",
    //   "span": 12
    // },
    {
      type: "input",
      label: "客户代码",
      prop: "customerCode",
      span: 12,
    },
    {
      type: "input",
      label: "产品名称",
      prop: "productName",
      span: 12,
      width: 100
    },
    {
      type: "input",
      label: "客诉反馈时间",
      prop: "customerComplaintFeedbackTime",
      span: 12,
      width: 120
    },
    {
      type: "input",
      label: "问题确定",
      prop: "problemIdentification",
      span: 12,
    },
    {
      type: "input",
      label: "问题性质",
      prop: "problemNature",
      span: 12,
    },
     {
      type: "input",
      label: "客诉问题描述",
      prop: "problemDescription",
      span: 12,
      width: 180
    },

    {

      label: '不良图片',
      prop: 'defectivePhoto',
      type: 'upload',
      loadText: '附件上传中，请稍等',
      span: 24,
      propsHttp: {
        res: 'data'
      },
       listType: 'picture-card', // 新增卡片式图片展示
      props: {                  // 新增文件列表映射
        label: 'fileName',     // 文件名映射字段
        value: 'url'           // 文件地址映射字段
      },
      // tip: '上传同步至文件服务器',
      action: '/admin/sys-file/upload',
      width: 150
    },

    {
      type: "input",
      label: "问题分析",
      prop: "problemAnalysis",
      span: 12,
    },
    {
      type: "input",
      label: "CAPA纠正预防措施",
      prop: "correctiveActions",
      span: 12,
      width: 180
    },
    {
      type: "input",
      label: "报告附件",
      prop: "reportAttachment",
      span: 12,
      width: 150
    },
    {
      type: "input",
      label: "附件超链接",
      prop: "hyperlinkAttachment",
      span: 12,
      width: 150
    },
    {
      type: "input",
      label: "处理人",
      prop: "handler",
      span: 12,
    },
    {
      type: "input",
      label: "结案日期",
      prop: "caseClosureDate",
      span: 12,
    },
    {
      type: "input",
      label: "责任部门",
      prop: "responsibleDepartment",
      span: 12,
    },
    {
      type: "input",
      label: "效果验证",
      prop: "effectivenessVerification",
      span: 12,
    },
    {
      type: "input",
      label: "品质主管确认",
      prop: "qualitySupervisorConfirmation",
      span: 12,
      width: 150
    },

  ],
};
